
Ext.define('demo.store.bookStore',{
	extend:'Ext.data.Store',
	model:'demo.model.bookModel',
	proxy:{
		type:'ajax',
		url:'./app/server/book.json',
		reader:'json'
	},
/*	 data:{
       books:[
       		{"BookNum":3004,"BookName":"西游记","BookPress":"湖南文艺出版社","BookClassify":"经典","BookPrice":22}
       ]
    },
	proxy:{
		type:'memory',
		reader:{
			type:'json',
			root:'books'
		}
	},*/
	
	autoLoad:true
})
